﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SessionMgr
/// </summary>
public class SessionMgr
{
    private static IDictionary<string, IDictionary<string, object>> data = new Dictionary<string, IDictionary<string, object>>();
    public SessionMgr()
	{
		
	}
    public static IDictionary<string, object> GetSession(string sessionID)
    {
        if(!data.ContainsKey(sessionID))
        {
            IDictionary<string, object> session = new Dictionary<string, object>();
            data[sessionID] = session;
        }
        return data[sessionID];
    }
}